package com.he.duitesmodel.hander.concretehander;

import com.he.duitesmodel.hander.LeaveRequest;

public class BossHander extends LeaveRequest {
    @Override
    public void handerLeave(int leaveDays) {
        if (leaveDays <= 7) {
            System.out.println("老板批准");
        } else if (leaveDays > 7) {
            System.out.println("你是思想有问题啦？");
        }
    }
}
